package com.tencreat.domain.account.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author huang wei
 * @version 1.0
 * @date 2021/12/28 13:51
 */
@Data
public class AccountMyTeamVo implements Serializable {
    @ApiModelProperty(value = "用户ID")
    private Long uuid;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "邀请注册时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "推广人数")
    private Integer recommendedNumber;

    @ApiModelProperty(value = "订单数")
    private Integer orderCount;

    @ApiModelProperty(value = "累计店铺收入")
    private BigDecimal income;

    @ApiModelProperty(value = "累计充值")
    private  BigDecimal recharge;

    @ApiModelProperty(value = "是否店铺 0否  1是")
    private Long store;

    @ApiModelProperty(value = "是否供应商 0否  1是")
    private Long supplier;
}
